package com.cci.kangdao.dao;

import org.apache.ibatis.annotations.Update;
import org.mybatis.spring.annotation.MapperScan;

@MapperScan
public interface SSHasVehicleTypeDao {

    /**
     * 通过服务商Id作废授权记录
     *
     * @param serviceStationId 服务商Id
     */
    @Update("update SSHasVehicleType_T set Flag = -1 where ServiceStationId = #{serviceStationId}")
    void deleteSSHasVehicleTypeByServiceStationId(Long serviceStationId);

}